package xin.yangshuai.springsecurity03.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class LoginController {

    @GetMapping("login")
    public String login() {
        return "login";
    }

    @GetMapping("sms-login")
    public String smsLogin() {
        return "sms-login";
    }

    @GetMapping("logout")
    public String logout() {
        return "logout";
    }

    @GetMapping("accessDenied")
    public String accessDenied() {
        return "accessDenied";
    }
}
